package com.ruoyi.business.service;

import com.ruoyi.bizsys.domain.AppUser;
import com.ruoyi.bizsys.domain.CreditAccount;
import com.ruoyi.bizsys.domain.CreditApply;
import com.ruoyi.bizsys.domain.LoanOrder;
import com.ruoyi.business.domain.*;
import com.ruoyi.common.config.RocketMqConsumers;
import com.ruoyi.common.config.RocketMqTopics;

import java.text.ParseException;
import java.util.List;

/**
 * @Author: Jamnsinn
 * @Date: 2021/3/10 5:52 下午
 */
public interface ILoanApplyService {

    /**
     * 提现申请Topic
     */
    String LOAN_APPLY_TOPIC = RocketMqTopics.getLoanApplyTopic();//"loan_apply_topic";

    /**
     * 放款结果Topic
     */
    // todo 需要删除test！！！！！！！
    String LOAN_RESULT_TOPIC = RocketMqTopics.getLoanResultTopic();// "loan_result_topic_test";

    /**
     * 获取还款日T-3，T-0的数据
     *
     * @return
     */
    List<RaiseLimitTaskVo> getCustNotSettledIou0_3();

    void processLoanReq(LoanReq loanReq, boolean isVersion228);

    CustAccount getCustAccount();

    List<CustLoanIou> getCustNotSettledIou();

}
